Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.x] Search task added #197

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 57f0cf8 from #177

* Search task added
Function accepts json string or in dict format. Test changes are added to check whether function will accept string and dict as input request body parameters.

Signed-off-by: Nurlan <[email protected]>

* Another test case added
Added "else" block test case.

Signed-off-by: Nurlan <[email protected]>

* Test corrected

Signed-off-by: Nurlan <[email protected]>

* Search model added and code was corrected little bit

Signed-off-by: Nurlan <[email protected]>

* Linting

Signed-off-by: Nurlan <[email protected]>

* Additional test case added for each search api: task and model

Signed-off-by: Nurlan <[email protected]>

---------

Signed-off-by: Nurlan <[email protected]>
(cherry picked from commit 57f0cf8)
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #197 (49ba275) into 1.x (4e0ba52) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              1.x     #197      +/-   ##
==========================================
+ Coverage   91.08%   91.15%   +0.06%     
==========================================
  Files          37       37              
  Lines        4062     4091      +29     
==========================================
+ Hits         3700     3729      +29     
  Misses        362      362              
Impacted Files Coverage Δ
opensearch_py_ml/ml_commons/ml_commons_client.py 83.87% <100.00%> (+3.71%) ⬆️

@dhrubo-os dhrubo-os merged commit 671212b into 1.x Jul 20, 2023
19 of 21 checks passed
@github-actions github-actions bot deleted the backport/backport-177-to-1.x branch July 20, 2023 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants